#include"tcpServer.hpp"

void Usage(std::string arg)
{
  std::cout<<arg<<" Usage: port "<<std::endl; 
}
int main(int argc ,char* argv[])
{
  if( argc != 2 )
  {
     Usage(argv[0]);
     exit(1);
  }
  tcpServer* tp = new tcpServer(atoi(argv[1]));
  tp->tcpServerInit();
  tp->start();
  return 0;
}
